/* 基础样式 */
.mineContainer {
  padding: 0px 10px 10px 10px;
  background-color: #f5f5f5;
  min-height: 100vh;
  box-sizing: border-box;
}

/* 用户卡片 */
.userCard {
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 15px;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  background-image: url("../img/menibackg.png");
  background-size: 100% 100%;
}

.userInfo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  margin-right: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.avatarPlaceholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: white;
}

.userName {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 5px 0;
}

.userId {
  font-size: 14px;
  opacity: 0.8;
  margin: 0;
}

/* 余额信息 */
.balanceInfo {
  width: 90%;
  display: flex;
  justify-content: space-between;
  text-align: center;
  color: black;
  background-color: white;
  position: absolute;
  left: 5%;
  padding: 10px 0;
  border-radius: 10px;
}

.balanceItem {
  flex: 1;
}

.balanceLabel {
  font-size: 13px;
  margin-bottom: 5px;
  opacity: 0.9;
}

.balanceValue {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

/* 通用区块样式 */
.section {
  background-color: white;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  font-size: 13px;
  margin-top: 55px;
}

.sectionHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.sectionTitle {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
}

.viewAll {
  font-size: 13px;
  color: #999;
}

/* 订单状态 */
.orderStatus {
  display: flex;
  justify-content: space-between;
}

.statusItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.statusIcon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-bottom: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.statusIcon img {
  width: 50%;
}

/* 服务网格 */
.serviceGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.serviceItem {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.serviceIcon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.serviceIcon img{
  width: 80%;
}

.commodity {
  width: "100%";
  width: 95%;
  margin: auto;
  margin-top: 3px;
  column-count: 2;
  column-gap: 10px;
  padding: 0px 5px;
  margin-bottom: 50px;
}

.waterfall_box {
  width: 100%;
  background-color: white;
  margin-top: 5px;
  border-radius: 8px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2),
    inset -2px -2px 5px rgba(255, 255, 255, 0.5);
  display: inline-block;
  /* 解决多列布局的怪异模式 */
  vertical-align: top;
  /* 对齐顶部 */
  overflow: hidden;
  padding-bottom: 5px;
}

.waterfall_box img {
  width: 100%;
}

.goods_name {
  width: 90%;
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.commodity_price {
  color: red;
  display: flex;
  justify-content: space-around;
  font-weight: 800;
  padding: 0px 5px;
}

.commodity_price_font {
  width: 100%;
  color: red;
  display: flex;
  font-weight: 800;
}

.commodity_price img {
  width: 24px;
}

.bottom_navigation {
  width: 100%;
  height: 45px;
  position: fixed;
  bottom: 0px;
  display: flex;
  justify-content: space-around;
  font-size: 13px;
  background-color: white;
}

.bottom_navigation_option {
  width: 25%;
  height: 100%;
  text-align: center;
  color: #000000;
}

.bottom_navigation_option img {
  width: 25px;
}

.navigation_active {
  filter: invert(73%) sepia(44%) saturate(396%) hue-rotate(350deg)
    brightness(94%) contrast(86%);
}
